﻿@model Smarly.Ebook.Model.EBookTree


@foreach (var txt in Model.Children)
{
	if (txt.IsHead)
	{
		<h2>@Model.Text</h2>
	}
	else
	{
		if (txt.Ti != null && txt.Ti.Items.Count > 0)
		{
			@Html.Partial("_TiPartial", txt)
		}
	}

}
